import index from '@/components/home'
import code from '@/components/home/code'
import login from '@/components/home/login'

import HelloWorld from '@/components/HelloWorld'

export default [
    // 防止用户乱输出地址
    {
        path: '*',
        name: '/default',
        component: index
    },
    {
        path: '/home',
        name: 'home',
        component: index
    },
    {
        path: '/code',
        name: 'code',
        component: code
    },
    {
        path: '/login',
        name: 'login',
        component: login
    },
    // {
    //     path: '/guize',
    //     name: 'guize',
    //     component: guize
    // },
    // {
    //     path: '/plant',
    //     name: 'plant',
    //     component: plant
    // },
    // {
    //     path: '/prize',
    //     name: 'prize',
    //     component: prize
    // },
    {
        path: '/hello',
        name: 'HelloWorld',
        component: HelloWorld
    }

]